package com.zsrt.java.day20161230.wrl.t04;

import java.util.Scanner;

public class AddUser {
	public static void main(String[] args) {
		User0 user = new User0();
		Scanner sc = new Scanner(System.in);
		System.out.println("*********添加新用户*********");
		System.out.print("请输入新用户的编号：");
		user.uid   = sc.nextInt();
		System.out.print("请输入新用户的姓名：");
		user.uname = sc.next();
		System.out.print("请输入新用户的职务：");
		user.uduty = sc.next();
		sc.close();
		user.addUserString();
	}

}
